#ifndef AI_PINGPONG_H
#define AI_PINGPONG_H

#include <QtGui>
#include "paddle.h"
#include "ball.h"

class AI_pingpong : public QObject
{
    Q_OBJECT
public:
    AI_pingpong(Ball* playball, Paddle *aiPaddle);
    ~AI_pingpong();
public slots:
    void movePaddle();
private:
    Ball* playball;
    Paddle* aiPaddle;
};

#endif // AI_PINGPONG_H
